package com.geovis.emergency.spd.entity.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.common.core.entity.BaseEntity;
import com.geovis.emergency.spd.entity.basic.entity.BaseSpdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工组织关联表
 * </p>
 *
 * @author linrf
 * @since 2022-07-07
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("system_dept_user")
@ApiModel(value = "SystemDeptUser对象", description = "员工组织关联表")
public class SystemDeptUser extends BaseSpdEntity {

    @ApiModelProperty(value = "组织名")
    private String deptName;

    @ApiModelProperty(value = "组织编号")
    private String deptId;

    @ApiModelProperty(value = "员工编号")
    private String userId;

    @ApiModelProperty(value = "员工昵称")
    private String userName;

    @ApiModelProperty(value = "担任组织机构的职位")
    private String govEmpPosJob;

    @ApiModelProperty(value = "组织机构下的顺序")
    private Integer orderInDept;

    @ApiModelProperty(value = "是否是主要职位")
    private Boolean mainJob;

}
